<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.cookie.js"></script>
<script type="text/javascript" src="js/yl.js"></script>
<link rel="stylesheet" type="text/css" href="css/hy.css">
<title>聊天室</title>
</head>
<body >

      <% 
      Object obj=session.getAttribute("logged");
      if(obj==null||!obj.toString().equals("1")){
   	   out.println("<script>alert('请先登录！');window.location='login.html'</script>");
      }
      %>
      
     <h1 align="center" style="color:#00FFFF">个人记录</h1>   
     <center>
         <div class="left">
      <h2 align="center">用户列表</h2>
      <div align="right">
      <button onclick="quit();">退出</button> 
      </div>
      <ul id="userList"></ul>    
     </div>
     <div class="right_up">
     <h2 align="center">消息列表</h2>
     <div class="messages" id="message"></div>
     </div>
     </center>
 
    

</body>
</html>